Adrian Cretu Приложения

Beacon Toy
Adrian Cretu
Featured at Google I/O 2016! Create BluetoothLow Energy beacons using your device.A beacon is a self-repeating, low-power, Bluetooth advertisement ofsmall data (31 bytes or less), that can reach devices 50 feet ormore (or only immediately close if desired). Some of them can bedetected without needing an app; see http://physical-web.org fordetails.You can broadcast beacons only on Android 5.0+ devices thatsupport BLE peripheral mode. Most 2015 and later devices arecompatible, but many older ones are NOT, Check out a list ofknown devices at https://goo.gl/p3w5QjSupported beacon formats:Eddystone-URL (Physical Web) - advertise website addressesto be picked up by Android, and Chrome on iOSEddystone-UID - static identifier that can be used tocollect attachments to thingsEddystone-EID - production-ready encrypted identifiers withautomatic refreshEddystone-TLM - broadcast actual device telemetry: batterytemperature, voltage, service uptime, and an estimated count oftotal advertised Packet Data Units.iBeacon - static identifier format, better supported byiDevices.Special featuresHost Eddystone-GATT service configuration - registerproduction-ready Ephemeral ID or UID beacons with Google's BeaconTools app, or configure the beacon using Chrome, directly via WebBluetooth.Run multiple beacons - device limited: up to 4 on Nexus 6,up to 8 on Galaxy S7, etc.Built-in goo.gl shortenerEphemeral URLs via https://uriio.com - create un-spoofable,rotating URLs; change the destination target without touching thebeacon!Beacons are managed by a light self-stopping Service that resumeson device boot and takes care of beacon's lifecycle duringBluetooth events.View nearby beacons, and clone supported formats.Use casesBroadcast any URL you want: your site, your store's / cafeteriawebpage (or why not, even the menu?), your personal website, yoursocial network profiles, a funny YouTube video, or anything elseyou can think of and want the people nearby to come in contactwith.Share nearby a link relevant to the place your device is locatedat, which is yourself, or maybe a kiosk or anything else.For advanced usage, play around with the Proximity Beacon API andattach any kind of data to your beacons.
ECM Handler 0.1
Adrian Cretu
Create and view encrypted messages using aURL-like data scheme. Possibilities include:- exchange private information over unsafe channels: email, QRcodes...- compress text data, with or without a password, and use theoutput inside a QR code.All messages are encrypted using AES with a 256-bit key in CBCmode. Passwords are derived using PBKDF2 with 8192 iterations, witha double salt added. Data integrity is verified by its MD5 checksumafter decryption. So everything is safe.The encoded message has 2 parts:- the scheme prefix: ecm:// followed by a 1 character reservedheader- the encoded data - currently using a subset of Kanji characters,in order to allow a potentially maximum data compression inside aQR code (each Kanji char would be encoded directly to 13-bits,whereas using UTF-8 would be a masive overhead - ~3bytes/character)*** Note that currently the available QR encoders do notefficiently create the smallest possible QR symbol when providedwith a string that contains many consecutive Kanji characters (asin the case of an ECM string), but treat it as a UTF-8 string. Thisis something that should be addressed to the QR encoders authors,since its perfectly valid to have two different data segmentsinside a QR code. The ECM data format only guarantees thateverything after the (ecm:// + header) is valid to be encoded inKanji mode (only contains valid characters in the 0x8140-0xEBBFShift_JIS charset range).Keywords: encryption, security.